namespace FaultBackService.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("RealTimeFaultDataDaily")]
    public partial class RealTimeFaultDataDaily
    {
        [Key]
        public int FaultDataDailyId { get; set; }

        public int FaultId { get; set; }

        [StringLength(50)]
        public string FaultDescription { get; set; }

        public int? TurbineId { get; set; }

        [StringLength(50)]
        public string TurbineName { get; set; }

        public int ComponentId { get; set; }

        [StringLength(50)]
        public string ComponentName { get; set; }

        public int SensorId { get; set; }

        [StringLength(50)]
        public string SensorZH { get; set; }

        [StringLength(50)]
        public string SensorEN { get; set; }

        [Column(TypeName = "date")]
        public DateTime Date { get; set; }

        public float TotalTime { get; set; }

        public float TotalTime_Level1 { get; set; }
        public float TotalTime_Level2 { get; set; }
        public float TotalTime_Level3 { get; set; }
    }
}
